package com.huanghuang.shuadan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * springboot 启动类
 * @author zhaorongzhnag
 */
@SpringBootApplication
@EnableSwagger2
@ServletComponentScan
@MapperScan(basePackages = "com.huanghuang.shuadan.dao.mapper")
public class ShuadanApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShuadanApplication.class, args);
    }

}
